<div bindonce>
	<table class="table table-striped table-bordered table-hover text-center table-layout-fixed">
		<thead>
			<tr>
				<th class="th-nowap">序号</th>
				<!-- <th class="pointer-th th-nowap">数据库字段名称</th> -->
				<th class="pointer-th th-nowap">表名</th>
				<th class="pointer-th th-nowap">字段名称</th>
				<th class="pointer-th th-nowap">字段备注</th>
				<th class="pointer-th th-nowap">控件类型</th>
				<th class="pointer-th th-nowap">数据类型</th>
				<th class="pointer-th th-nowap">格式化数据</th>
				<th class="pointer-th th-nowap">对齐方式</th>
				<th class="pointer-th th-nowap">是否隐藏</th>
				<th class="pointer-th th-nowap">可导出</th>
				<th class="pointer-th th-nowap">Href</th>
				<th class="pointer-th th-nowap">打开方式</th>
				<th class="pointer-th th-nowap">脱敏</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="item in data.fieldsList | orderBy:'sn'">
				<td>{{$index+1}}</td>
				<!-- <td class="th-nowap">{{item.name}}</td> -->
				<td class="th-nowap">
					{{item.tableName}}
					<span ng-show="item.tableAlias">[{{item.tableAlias}}]</span>
				</td>
				<td class="th-nowap">{{item.fieldName}}</td>
				<td class="th-nowap">
					<!-- 字段备注 -->
					<input class="form-control must" type="text" ng-model="item.fieldDesc" ab-validate="{required:true}" ng-disabled="isSee" />
				</td>
				<td class="th-nowap">
					<!-- 控件类型 -->
					<select class="form-control must" ng-model="item.controlType" ng-options="k as v for (k,v) in service.controlTypeMap" ab-parse-data ab-validate="{required:true}" ng-disabled="isSee">
						<option value="">请选择</option>
					</select>
				</td>
				<td class="th-nowap">{{item.dataType}}</td>
				<!-- 数据类型 -->
				<td class="th-nowap">
					<!-- 格式化数据 -->
					<input class="form-control must fl" type="text" ng-model="item.dateFormat" ng-disabled="isSee" />
				</td>
				<td class="th-nowap">
					<!-- 对齐方式 -->
					<select class="form-control must" ng-model="item.align" ng-options="k as v for (k,v) in service.alignMap" ab-parse-data ab-validate="{required:true}" ng-disabled="isSee">
						<option value="">请选择</option>
					</select>
				</td>
				<td class="th-nowap">
					<!-- 是否隐藏 -->
					 <span ab-boolean="1/0" class="checkbox" text="是/否" ng-model="item.hidden"  ab-validate="{required:true}" ng-disabled="isSee"></span>
				</td>
				<td class="th-nowap">
					<!-- 可导出 -->
					 <span ab-boolean="1/0" class="checkbox" text="是/否" ng-model="item.exportAble"  ab-validate="{required:true}" ng-disabled="isSee"></span>
				</td>
				<td class="th-nowap">
					<!-- 单击跳转URL -->
					<input class="form-control must fl" type="text" ng-model="item.href" ng-disabled="isSee" />
				</td>
				<td class="th-nowap">
					<span ng-click="openSetting.open(item.expand,'hrefSetting',service.hrefOpenTypes)" class="pointer">设置</span>
				</td>
				<td class="th-nowap">
					<!--  脱敏,如3,4 -->
					<input class="form-control must fl" type="text" ng-model="item.fuzz"  ng-disabled="isSee"/>
				</td>
				<td class="th-nowap">
					<div ab-button-tools="iDontEvenUseThis" parent="thisScope" list="data.fieldsList" list-key="'data.fieldsList'" index="{{$index}}" copy="false" no-sort="false" sort-key="'sn'" ng-if="!isSee" no-confirm="true">
						<!-- <a href="javascript:void(0);" title="设置" class="btn glyphicon glyphicon-cog wd10" ng-click="test()"></a> -->
					</div>
				</td>
			</tr>
		</tbody>
	</table>
</div>